package com.qzimp.fujiancuo.mapper;

import com.mybatisflex.core.BaseMapper;
import com.qzimp.fujiancuo.config.MinioFile;
import org.apache.ibatis.annotations.Insert;

public interface FileUpLoadMapper extends BaseMapper<MinioFile> {

    /**
     * 文件上传
     *
     * @param uriString 文件链接
     * @return 是否成功
     */
    @Insert("INSERT INTO tb_file (url) VALUES (#{uriString})")
    Integer add(String uriString);

}
